$('textarea[xheditor="true"]').each(function($index,$htmlElement){
    var currmentElement=$($htmlElement);
    var skin=currmentElement.attr('skin')||'default';
    var width=currmentElement.attr('width')||'100%';
    var height=currmentElement.attr('height')||300;
    var html5Upload=false;
    var upImgUrl=currmentElement.attr('upImgUrl');
    var upMultiple=1;
    //~
    currmentElement.xheditor({
        'skin':skin,
        'width':width,
        'height':height,
        'html5Upload':html5Upload,
        'upImgUrl':upImgUrl,
        'upMultiple':upMultiple
    });
});